#include "mainwindow.h"

#include <QApplication>
#include <QSplashScreen>
#include <QThread>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QSplashScreen firing(QPixmap(":/myPicture/Screen3.png"));
    firing.show();
    a.processEvents();
    firing.showMessage("Loading.......", Qt::AlignRight, Qt::blue);
    a.processEvents();
    QThread::sleep(10);

    MainWindow w;
    w.show();
    firing.finish(&w);
    return a.exec();
}
